C (179/254)

From:Colin Wenzel
Date:08 Apr 00 at 13:01:22
Subject:Re: StormC Exception

On 08-Apr-00, Daithi O'Cuinn wrote:

> Hello again,
>
> Sorry for all the followups, but hopefully this can help other people
> too! But I have investigated further by single stepping through the
> ASM and found the following:
> There is a MOVE.L $5417E3c0, A6 which strangely results in A6
> becoming NULL, which then makes a subsequent JSR -72(A6) send the PC
> off into la-la land, hence the exception.
>
> I am frankly baffled! Might this be a 68040 thing?
>

Nothing strange about it at all......

Address $5417e3c0 is pointing at a long 0.

I always use the new syntax for ASM.
The newsyntax would be: MOVE.L ($5417e3c0),A6
it makes it clearer & if you forget the # for an immediate value
it flags an assembler error....

I think what you assumed it was doing is moving the
immediate value of #$5417e3c0 into A6,
which should have resulted in A6 containing $5417e3c0,
but it didn't ehh.....

-------------------------------------
Colin Wenzel. Australia.

EMAIL: mailto:colstv@hotkey.net.au
URL: http://www.hotkey.net.au/~colstv/
ICQ: 17608330
AMIGA: 4000T, 68060/50, 150Mb RAM,
OS 3.5, EGS Spectrum.
---------------------------------------

------------------------------------------------------------------------
Get a NextCard Visa, in 30 seconds!
1. Fill in the brief application
2. Receive approval decision within 30 seconds
3. Get rates as low as 2.9% Intro or 9.9% Fixed APR
Apply NOW!
http://click.egroups.com/1/2646/1/_/451227/_/955195408/
------------------------------------------------------------------------